package com.haogu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_crm_employee")
public class Employee {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer positionId;
    private Integer status;
    private String name;
    private String img;
    private Integer sex;
    private String email;
    private String telephone;
    private String address;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    private Integer createUserId;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer updateUserId;
    private Integer userId;
    @TableLogic
    private Integer deleteStatus;


}
